{include file="header.tpl"} 
{include file="sidebar.tpl"} 


			<div id="content">       
			    <div id="box">
                	<h3 id="adduser">Thêm Danh Mục</h3>
                    <form method="post" action="{$smarty.const.BASEURL}/category/edit/{$category.id}" id="form">
                    	{if $strSuccess neq ''}              
        					{include file = 'msg_success.tpl'}
     					{/if}
    
					    {if $strError neq ''}                        
    						{include file = 'msg_error.tpl'}
					    {/if} 
	                    <fieldset id="personal">
		                    <legend>THÔNG TIN DANH MỤC</legend>
		                    <label for="lastname">Tên  : </label> 
		                    <input type="text" tabindex="1"  name="name" value="{$category.name}"/>
		                    <br/>
		                    <label for="firstname">Mô tả : </label>
		                    <input type="text" tabindex="2"  name="description" value="{$category.description}"/>
		                    <br/>
	                    </fieldset>
	                    <div align="center">
			                <input type="submit" value="Cập nhật" class="button" name = 'submit'/> 
			                <input type="reset" class="button" value="Hủy bỏ"/>
	                    </div>
                    </form>

                </div>
			</div>
{include file="footer.tpl"} 